import { loadComponent } from '@/utils/utils'

export default [
  {
    path: '/assets/list',
    name: 'assets',
    meta: {
      title: '业务分组'
    },
    component: loadComponent('assets', 'index')
  },
  {
    path: '/assets/add',
    name: 'assetsAdd',
    meta: {
      title: '新增分组'
    },
    component: loadComponent('assets', 'add')
  },
  {
    path: '/knnode/list',
    name: 'knnode',
    meta: {
      title: '领域知识'
    },
    component: loadComponent('knnode', 'index')
  },
  {
    path: '/knnode/add',
    name: 'knnodeAdd',
    meta: {
      title: '领域知识新增'
    },
    component: loadComponent('knnode', 'add')
  },
  {
    path: '/keynode/list',
    name: 'keynode',
    meta: {
      title: 'key节点'
    },
    component: loadComponent('keynode', 'index')
  },
  {
    path: '/keynode/add',
    name: 'keynodeAdd',
    meta: {
      title: 'key节点新增'
    },
    component: loadComponent('keynode', 'add')
  },
  {
    path: '/valnode/list',
    name: 'valnode',
    meta: {
      title: 'val节点'
    },
    component: loadComponent('valnode', 'index')
  },
  {
    path: '/valnode/add',
    name: 'valnodeAdd',
    meta: {
      title: 'val节点新增'
    },
    component: loadComponent('valnode', 'add')
  }
]
